#!/bin/bash

./standalone_cc2640r2f_tools.sh -appbuild
if [ $? -eq 0 ]; then
	python3 ble_oad.py "00:99:66:66:99:99" "../simple_peripheral_cc2640r2lp_oad_offchip_app/FlashROM/auto_plant_cc2640r2lp_oad_offchip_app_FlashROM_oad.bin"
	# python3 ble_oad.py "00:99:66:66:99:99" "auto_plant_cc2640r2lp_oad_offchip_app_FlashROM_oad_20200928.bin"
else
	echo build failed
fi



